﻿@using res = Sob.Resource.Views.Shared.Shared;
<div class="dropmenu">
    <a class="dropmenu-title" href="###">@res.LangName</a>
    <div class="dropmenu-list">
        @Html.ActionLink("English", "ChangeLanguage", "Lang", new { language = "en-us" }, null)
        @Html.ActionLink("中[简体]", "ChangeLanguage", "Lang", new { language = "zh-cn" }, null)
        @Html.ActionLink("中[繁体]", "ChangeLanguage", "Lang", new { language = "zh-tw" }, null)
    </div>
</div>
@if (Request.IsAuthenticated)
{
    <p>
        <a class="white" href="#"><b>@User.Identity.Name</b></a> | @Html.ActionLink(res.Management, "Manage", "Account")
        | @Html.ActionLink(res.ChangePassword, "ChangePassword", "Account") | @Html.ActionLink(res.Logout, "LogOff", "Account")</p>
}
else
{
    <p>
        [ @Html.ActionLink(res.SignIn, "LogOn", "Account") ]</p>
}
